<?php
$html = '<!DOCTYPE html>';
$html .= '<html xmlns="http://www.w3.org/1999/xhtml">';
$html .= '<head>';
$html .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
$html .= '<title>Pre-Approval - Max Finance</title>';
$html .= '<link href="auto-email.css" rel="stylesheet" />';
$html .= '</head>'; 
$html .= '<body style="font-family:Arial, Helvetica, sans-serif;">';
$html .= '<table width="582" height="" border="0" align="center">';
$html .= '<tr>';
$html .= '<td height="auto">';
$html .= '<p style="">Hi - '.$firstname.'-<span class="">,</span><br /></p>';
$html .= '<p>Congratulations, your loan has been pre-approved*.<br />Max Cash is the faster and easier way to get the money you need.</p>';
$html .= '<div style="border:3px solid #20406F; padding:2px; background-color:#FFC;">';
$html .= '<p style="font-size:16px; text-align:center"><strong>Documents for Verification</strong></p>';
$html .= '<p style="font-size:16px; text-align:center">To comply with responsible lending, please send over the documents below:</p>';
$html .= '<div style="padding-left:50px; display:block;">';
$html .= '<p style="font-size:14px;"><em>1. Driver Licence</em></p>';
$html .= '<p style="font-size:14px;"><em>2. </em>Bank Statement</p>';
$html .= '<p style="font-size:14px;">3. 1 Payslip</p>';
$html .= '</div>';
$html .= '<p style="font-size:14px; text-align:left; "><em>Note:<br />1. Document alternatives might be available, please email us for details.<br />2. For joint applications, full set of documents of all applicants are required.</em></p>';
$html .= '<br />';
$html .= '</div>';
$html .= '<table width="573" border="0">';
$html .= '<tr>';
$html .= '<td width="458"><strong style="font-size:16px; text-align:center">Money will be transferred to you once final verification is done and contract is signed.^</strong></td>';
$html .= '<td width="105"><img src="http://www.maxfinance.com.au/images/piggybank3.jpg" /></td>';
$html .= '</tr>';
$html .= '</table>';
$html .= '<p><span style="font:14px Arial, Helvetica, sans-serif;"><b>Got a question?</b><br /></span>';
$html .= '<span style="font-size:10.0pt;font-family:Arial,sans-serif">1. Visit our <a href="http://maxfinance.com.au/faqs.html">FAQs</a> page</span><br />';
$html .= '<span style="font-size:10.0pt;font-family:Arial,sans-serif">2. Email to <a href="mailto:Loans@MaxCash.com.au">Loans@MaxCash.com.au</a> for a same day reply.</span><br /><br />';
$html .= '<span style="font-size:10.0pt;font-family:Arial,sans-serif">Cheers,</span></p>';
$html .= '<p><span style="font-size:10.0pt;line-height:115%;font-family:Arial,sans-serif"><br /><strong>Lending  Team</strong></span></p>';
$html .= '<table width="100%" border="0">';
$html .= '<tr>';
$html .= '<td width="231"><span style="font-size:10.0pt;line-height:115%;font-family:Arial,sans-serif"><img src="http://maxcash.com.au/graphics/logo.png" width="267" height="70" alt="MaxFinance_logo"/></span></td>';
$html .= '<td style="font-size:13px;color: #16255C; font-family:Arial, Helvetica, sans-serif;">';
$html .= '<strong>Talk to us on <a href="http://www.maxfinance.com.au/livehelp/">Live Chat</a> now</strong>.<br />';
$html .= 'Phone: 02 8006 9700 <br />';
$html .= 'Email: <a href="mailto:Loans@MaxCash.com.au">Loans@MaxCash.com.au</a><br />';            
$html .= 'Fax:&nbsp; 02 8005 3976<br />';
$html .= 'Web: <a href="http://www.MaxCash.com.au">www.MaxCash.com.au</a>';
$html .= '</td>';
$html .= '</tr>';
$html .= '</table>';
$html .= '<p><img src="http://www.maxfinance.com.au/images/blueline.jpg" width="573" height="5" /><br/><spanstyle="font-size:10.0pt;line-height:115%;font-family:Arial,sans-serif"><span style="font-size: 10px;font-style: italic;color: #333333;">The information contained in this email is intended for the named recipient only. It may contain privileged and confidential <br />information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance upon it. <br />* Pre-Approval indicates you have a high chance of getting a loan based on details provided. Application is ultimately   <br />subject to verification, final approval, funds availability and lending criteria. <br /> ^ Final verification iMax Finance loan service is one of the fastest in Australia.<br />However, some loan applications may have a different process depending on varies factors.<br/></span></span></p>';
$html .= '</td>';
$html .= '</tr>';
$html .= '</table>';
$html .= '</body>';
$html .= '</html>';
?>